package com.wangyb.wework.service.contact;

import com.wangyb.wework.wxApi.ExternalContactResp;
import org.springframework.scheduling.annotation.Async;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Author: wangyb
 * @Date: 2021/6/30 11:00 下午
 */
public interface IExternalContactService {
	Set<String> getAllExternalUserId(Set<String> wxUserIdList, Long corpId);

	List<String> getExternalUserId(String userId, Long corpId);

	Set<ExternalContactResp> getExternalContact(Set<String> externalUserIdSet, Long corpId);

	ExternalContactResp getExternalContact(String externalUserId, Long corpId);

    @Async
    void uploadContactAvatar(Map<String, String> filePathMap);
}
